<?php

namespace backend\controllers;

use yii\web\Controller;

/**
 * Default controller for the `information` module
 */
class DefaultController extends Controller
{
    /**
     * @return array
     */
    public function actions()
    {
        return [
            'error' => [
                'class' => 'frontend\actions\DefaultErrorAction'
            ],
            'upload' => [
                'class' => 'common\actions\UEditorActionI',
            ],
        ];
    }
    public function actionIndex()
    {
        return $this->render('index');
    }
}
